//
// Created by yan on 7/8/17.
//

#include "serialmod/serialMod.h"
#include <iostream>


ssize_t serialMod::recvData(void *buf, size_t count) {
    std::cout << "serialMod recvData " <<std::endl;
    return 0;
}

ssize_t serialMod::sendData(void *buf, size_t count) {
    std::cout << "serialMod sendData " <<std::endl;
    return 0;
}

int serialMod::setMode(void *mode) {
    Daqcfg* p = (Daqcfg*)mode;
    std::cout << "baud" << p->getbaud() << std::endl;
    return bDaqMod::setMode(mode);
}
